import * as type from "./mutation-type.js"
// console.log(type.SET_USER)
const mutation = {
	[type.SET_USER](state,user){
		state.user = user
	},
	[type.SET_FRIEND](state,friend){
		state.friend = friend
	}
}

export default mutation